#ifndef __DISP_H
#define __DISP_H
#include <NeoPixelBus.h>

#define MAX_BRIGHTNESS 200
#define DEFAULT_BRIGHTNESS 0.5f
#define ORANGE 200, 60, 0

void rgbInit(void);
void drawPoint(int8_t x, int8_t y, uint8_t en, uint32_t pixel_color);
uint8_t drawChar(char c, int8_t x, int8_t y, uint8_t height, uint32_t pixel_color);
void drawNum(uint8_t num, int8_t x, int8_t y, uint32_t pixel_color);
void drawString(char *p, int8_t x, int8_t y, uint32_t pixel_color);
void drawBitmapRGB(const uint32_t *p, int8_t x, int8_t y, uint8_t w, uint8_t h);
void sendToScreen(void);
void clearScreen(void);
void brightControlTask(void);
void setCurrentBrightness(uint8_t bright);
uint8_t getCurrentBrightness(void);
void setConfigBrightness(uint8_t bright);
uint8_t getConfigBrightness(void);

#endif